#给定目录中找出包含关键字的文件
#!/bin/bash
dir=$1
key=$2
for file in $(find $dir -type f)
do
	if grep $key $file &>/dev/null;then
	echo "---> $file"
	fi
done
